package com.qiyi.player.core.video.file.actors.datatile
{
   import com.qiyi.player.core.model.impls.Segment;
   import com.qiyi.player.core.model.impls.Keyframe;
   import com.qiyi.player.base.pub.EnumItem;
   import com.qiyi.player.base.flv.FLVTagAudio;
   import com.qiyi.player.base.flv.FLVTagVideo;
   import flash.utils.ByteArray;
   import flash.utils.IDataInput;
   
   public interface IFlvBlock extends IBlock
   {
      
      function get id() : int;
      
      function get segment() : Segment;
      
      function get startKeyframe() : Keyframe;
      
      function get endOfFile() : Boolean;
      
      function set endOfFile(param1:Boolean) : void;
      
      function get startTime() : int;
      
      function get endTime() : int;
      
      function get expectEndPosition() : int;
      
      function set expectEndPosition(param1:int) : void;
      
      function get eof() : Boolean;
      
      function get appending() : Boolean;
      
      function get discard() : Boolean;
      
      function get duration() : int;
      
      function get mediaSize() : int;
      
      function get complete() : Boolean;
      
      function set complete(param1:Boolean) : void;
      
      function get loading() : Boolean;
      
      function set loading(param1:Boolean) : void;
      
      function get dataSourceType() : EnumItem;
      
      function set dataSourceType(param1:EnumItem) : void;
      
      function get limitUniqueSource() : Boolean;
      
      function get configAudioTag() : FLVTagAudio;
      
      function get configVideoTag() : FLVTagVideo;
      
      function reset() : void;
      
      function seek(param1:int) : int;
      
      function read() : MediaData;
      
      function getData(param1:int) : MediaData;
      
      function getHeaders() : ByteArray;
      
      function startAppend() : void;
      
      function appendBytes(param1:IDataInput) : Boolean;
      
      function endAppend() : void;
   }
}
